-
A
RouteController
tracks the user’s progress along a route, posting notifications as the user reaches significant points along the route. On every location update, the route controller evaluates the user’s location, determining whether the user remains on the route. If not, the route controller calculates a new route.
See moreRouteController
is responsible for the core navigation logic whereasNavigationViewController
is responsible for displaying a default drop-in navigation UI.Declaration
Swift
@objc(MBRouteController) open class RouteController : NSObject
-
The
See moreRouteControllerDelegate
protocol provides methods for responding to significant events during the user’s traversal of a route monitored by aRouteController
.Declaration
Swift
@objc(MBRouteControllerDelegate) public protocol RouteControllerDelegate : AnyObject
-
Keys in the user info dictionaries of various notifications posted by instances of
RouteController
.Declaration
Swift
public typealias RouteControllerNotificationUserInfoKey = MBRouteControllerNotificationUserInfoKey
-
See moreRouteProgress
stores the user’s progress along a route.Declaration
Swift
@objc(MBRouteProgress) open class RouteProgress : NSObject
-
See moreRouteLegProgress
stores the user’s progress along a route leg.Declaration
Swift
@objc(MBRouteLegProgress) open class RouteLegProgress : NSObject
-
See moreRouteStepProgress
stores the user’s progress along a route step.Declaration
Swift
@objc(MBRouteStepProgress) open class RouteStepProgress : NSObject